a11y: Simplify GtkAccessibleValue
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 16 Jul 2020 17:08:22 +0000 (18:08 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 26 Jul 2020 19:31:15 +0000 (20:31 +0100)
commitd37511f76b459d53af33dc89e85ab1d6c3e7e8ad
tree0a6f032f301ca14bac584a8edbc6516ed4ed868d
parent55d29d08a192362d1717f4b27156186953c9c338
a11y: Simplify GtkAccessibleValue

Reduce the amount of subclassing, by handling collection of fundamental
types directly from the generic code paths. We now handle boolean,
tristate, integer, number, string, and relation values in the generic
code path; if an attribute supports the "undefined" value, we return the
undefined value singleton.
gtk/gtkaccessiblevalue.c
gtk/gtkaccessiblevalueprivate.h
gtk/gtkaccessiblevaluestatic.c
gtk/gtkenums.h